package com.risk.modules.sys.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 系统配置信息
 *
 * @author YanLee
 * @email shadow_lucky@yeah.net
 */
@Data
@TableName("sys_config")
public class SysConfigEntity {

    private static final long serialVersionUID = 1L;

    @TableId
    private Long id;

    @NotBlank(message = "参数名不能为空")
    private String paramKey;

    @NotBlank(message = "参数值不能为空")
    private String paramValue;

    private String remark;

}
